//
//  ALThirdTableViewCell.m
//  Ummy.G
//
//  Created by 安林 on 16/9/27.
//  Copyright © 2016年 安林. All rights reserved.
//

#import "ALThirdTableViewCell.h"
#import "UIImageView+WebCache.h"
#import "ALThreeModel.h"

@implementation ALThirdTableViewCell



- (void)awakeFromNib {
    

}

- (void)setModel:(ALThreeModel *)model{

    _model = model;
    
    //添加图片
   [_ImageView sd_setImageWithURL:[NSURL URLWithString:model.imageUrl]];
    
    //大标题
    _title.text = model.title;
    
    //NSLog(@"_title==%@",_title.text);
    //小标题
    _subTitle.text = model.subTitle;
    
    //距离
    _distance.text = model.topRightInfo;
    
    //$
    _symbol.text = model.mainMessage;
    
    //价钱
    _money.text = model.mainMessage2;
    
    //门市价
    _doorPrice.text = model.subMessage;
    
    //已售
    _sale.text = model.bottomRightInfo;
    
}






- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
}

+(instancetype)loadALThirdTableViewCell{
    return [[[NSBundle mainBundle]loadNibNamed:@"ALThirdTableViewCell" owner:nil options:nil]firstObject];
}

@end
